<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">迷你博客</p>
						<?php 
							if($userId == $userInfo['id']){
						 ?>
						<p class = "app_module_back"><a href="__URL__">返回我的空间</a></p>
						<?php }else{ ?>
						<p class = "app_module_back"><a href="__APP__/home/{$userInfo['id']}">查看{$userInfo['username}的空间</a></p>
						<?php } ?>
					</div>
				</div>
				<div class="app_right_menu">
					<?php 
						if ($userId == $userInfo['id']){
					 ?>
					<div class="arm_2">
						<a href="__URL__/mini">好友迷你博客</a>
					</div>
					<div class="arm_1">
						我的迷你博客
					</div>
					<?php 
						}else{
					 ?>
						<div class="arm_1">
						{$userInfo['username']}的迷你博客
						</div>
					<?php 
						}
					 ?>
				</div>
				<div class="app_right_count">
					{$page}
				</div>
				<div>
					<div class="app_right_left">
						<?php 
							if ($userId == $userInfo['id']){
						 ?>
						<div class="whyaredoing">
							<p class="p">我在做什么?</p>
							<form action="__URL__/savemini" method="post">
								<textarea cols="42" rows="5" class="textarea" name="content" onkeyup="checkLength(this);"></textarea>
								<p>
								<input type="submit" value="发表" class="input2"/>
								<span id="mini_word">还可输入 <b>140</b> 字</span>
								</p>
							</form>
						</div>
						<?php 
							}
						 ?>
						<div class="minishow">
							<ul>
								<volist name="miniList" id="mini">
								<li>
									<div class="minishow_body">
										<div class="minishow_face">
											<a href="__APP__/minis/{$mini['userid']}"><img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}" width="60px" height="60px"/></a>
										</div>
										<div class="minishow_content">
											<a href="__URL__/home/{$mini['userid']}">{$userInfo['username']}</a> {$mini['content']} <span class="li_time">{$mini['regtime']|toDate}</span> 
											<?php 
											if($userId ==  $userInfo['id']){
											 ?>
											<span class="ajaxdel" id="{$mini['id']}" title="mini"> x </span>
											<?php } ?>
										</div>
									</div>
								</li>
								</volist>
								<li>
									{$page}
								</li>
							</ul>
						</div>
					</div>
					<div class="app_right_right">
					  <div class="app_right_right_body">
							<b>什么是迷你博客？</b>
							<hr/>
一句话博客，记录生活点滴。						</div>
					</div>
				</div>
			</div>
<include file="Public:footer" />